//
//  GQSongSheetCell.m
//  TingMusic
//
//  Created by sunny on 16/4/18.
//  Copyright © 2016年 sunny. All rights reserved.
//

#import "GQSongSheetCell.h"
#import "GQSongSheetItem.h"
#import <UIImageView+WebCache.h>
@interface GQSongSheetCell ()
@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *listenumLabel;
@property (weak, nonatomic) IBOutlet UILabel *title_Label;
@property (weak, nonatomic) IBOutlet UILabel *tagLabel;

@end

@implementation GQSongSheetCell

- (void)setSongSheetItem:(GQSongSheetItem *)songSheetItem
{
    _songSheetItem = songSheetItem;
    
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:songSheetItem.pic_300] placeholderImage:[UIImage imageNamed:@"default"]];
    self.listenumLabel.text = [NSString stringWithFormat:@"%zd",songSheetItem.listenum];
    self.title_Label.text = songSheetItem.title;
    self.tagLabel.text = songSheetItem.tag;
    
}

@end
